<?php
// +----------------------------------------------------------------------
// | ZanPianCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.zanpian.com All rights reserved.
// +----------------------------------------------------------------------
// | BBS:  <http://www.feifeicms.cc>
// +----------------------------------------------------------------------
namespace app\common\validate;
class Part extends Base{
 protected $rule = [
        ['part_vid', 'require|number', '视频ID不能为空|视频ID必须为数字'],
		['part_name', 'require', '分集名称不能为空'],
		['part_oid', 'require|unique:part,part_oid^part_vid', '分集号不能为空|分集号不能重复'],
    ];
}